home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
wndwc20.zip
/
EX2.C
< prev
next >
Wrap
Text File
|
1989-03-06
|
739b
|
22 lines
/* EXAMPLE 2: Protected underlay
----------------------------------------------------------------------*/
#include <conio.h>
#include <dos.h>
#include "wndwc20.h"
void main()
{
qinit();
initwindow( LIGHTGRAY_BG, 1, 0 );
wwritec( 12, "Base Window" );
setwindowmodes( ZOOMMODE+SHADOWRIGHT );
makewindow( 5, 20, 15, 40, WHITE+BLUE_BG, CYAN+BLUE_BG,
SINGLE_BORDER, AWINDOW );
titlewindow( TOP, LEFT, YELLOW+BLUE_BG, " My First Window " );
wwritec( 7, "Making windows is easy!" );
delay(2000);
removewindow(); /* Remove the window and restore underlay. */
getch();
}